﻿/*************************************************
 * 
 *  框架返回执行结果通用类
 * 
 *  create by ternence
 * 
 *  create datetime at 2017-03-16
 *  
 *  西安佳卓信息科技有限公司 ©2017
 * 
 * ***********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zor_Modes
{
    /// <summary>
    /// 框架应答消息
    /// </summary>
    public class BaseAnswer
    {
        /// <summary>
        /// 应答代码
        /// </summary>
        public int AnswerCode { get; set; }

        /// <summary>
        /// 应答标识
        /// </summary>
        public Answers AnswerType { get; set; }
        
      
        /// <summary>
        /// 应答消息
        /// </summary>
        public string AnswerMeg { get; set; }


        /// <summary>
        /// 应答标识枚举
        /// </summary>
        public enum Answers
        {
            Succee = 1,     //成功
            Failure = 2,    //失败
            Error = 3       //异常
        }
    }
}
